export function uploadImg(param) {
	return uni.request({
		url: 'https://crop.lxylw.design/water/upload/',
		method:"POST",
		sslVerify: false,
		data:param
	});
}

export function getRate(param) {
	return uni.request({
		url: 'https://crop.lxylw.design/water/mywater/',
		method:"POST",
		sslVerify: false,
		data:param
	});
}

export function addFarmland(param) {
	return uni.request({
		url: 'https://crop.lxylw.design/farmer/',
		method:"POST",
		sslVerify: false,
		data:param
	});
}

export function getFarmList() {
	return uni.request({
		url: 'https://crop.lxylw.design/farmer/',
		method:"GET",
		sslVerify: false,
		data:{
			page:1,
			size:99999
		}
	});
}

